Just my opinion here, but working directly with
globals seems a bit raw and risky.  I think a well
developed API should have standard interfaces to get
information--that do not require the programmer to
understand the format of the files etc.

Kevin



--- James Gray <[EMAIL PROTECTED]> wrote:

> I am curious about the rationale for this code for
> getting a patient's name.
> 
> DEM(DFN,VADM) ; Calls DEM^VADPT
>          D DEM^VADPT
>          Q
> NAME(DFN) ; Patient NAME
>          I '$D(VADM(1)) D DEM(DFN,.VADM)
>          Q $S(VADM(1)]"":VADM(1),1:"NAME UNKNOWN")
> 
> Why not just pull it out of the ^DPT global?
> 
> Jim Gray
> 
> 
> 
>
-------------------------------------------------------
> The SF.Net email is sponsored by: Beat the
> post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt
> from ThinkGeek.
> It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Hardhats-members mailing list
> Hardhats-members@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/hardhats-members
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Hardhats-members mailing list
Hardhats-members@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to