Kevin;
I would not rely upon the naked reference to
get you the proper node (especially when you are testing for the non-existence
of the target node. Use the whole reference in the set. Basically,
the result of the naked, $ZREFENCE is likely to be set near where the $D()
reference failed, not the apparent full reference. You might try capturing
the $ZREFERENCE after the naked gets set. It could be
interesting.
Best wishes;
Chris
----- Original Message -----
Sent: Saturday, July 08, 2006 4:00
PM
Subject: Re: [Hardhats-members] Fileman
lookup question: Aliases in PATIENTfile
On Jul 8, 2006, at 6:11 AM, Kevin Toppenberg wrote:
Then, there is a "B" index of type MNEMONIC. This seem like it would
be more for the use I am looking for. But I can't tell for sure
if
this is a "B" index for the subfile, or for the entire PATIENT
file.
This is it's set node:
S:'$D(^DPT("B",$E(X,1,30),DA(1),DA)) ^(DA)=1
So, to me, this looks like it is affecting the "B" index of the
entire
file, and inserting the alias name into the "B" index.
So I look in ^DPT("B",AliasName), and I don't find my entry. This may
explain why it's not working.
That's certainly an unusual approach. The whole point of mnemonic
cross-references is to allow you to create many-to-one indices (using
alternate names) like this. In my opinion, multi-index lookup is much cleaner,
but the PATIENT file has been around for a long time.
Gregory Woodhouse
"Judge a man by his questions not
his answers." --Voltaire
------------------------------------------------------------------------- Using
Tomcat but need to do more? Need to support web services, security? Get
stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Hardhats-members
mailing
list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members
|
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members