pharmacy error

Chris, We are getting following error in pharmacy.
like0

Comments

Text of error?

Christopher Edwards's picture

Jignesh:

Apparently the web viewer does not display any attachements you may have on your e-mail (which I assume there is an attachment as the message seems to indicate there is one).  Can you write out the actual error message?

Thanks!

like0

pharmacy error

Jignesh Patel's picture

Chris the error is

M ERROR=ES1+12^ORCACT01, Right Parenthesis

Expected, 150373642, %GTM-EPARENMISSING

LAS REF=^PSDRUG(“ASP”,3,4)

On Fri, Mar 30, 2012 at 8:16 AM, Christopher.Edwards <
Christopher.Edwards@krminc.com> wrote:

> Jignesh:
>
> Apparently the web viewer does not display any attachements you may have
> on your e-mail (which I assume there is an attachment as the message seems
> to indicate there is one). Can you write out the actual error message?
>
> Thanks!
> --
> Full post: http://www.osehra.org/discussion/pharmacy-error
> Manage my subscriptions:
> http://www.osehra.org/og_mailinglist/subscriptions
> Stop emails for this post:
> http://www.osehra.org/og_mailinglist/unsubscribe/665
>

like0

pharmacy error

DAVID Whitten's picture

On Fri, Mar 30, 2012 at 4:41 PM, David Whitten <whitten@worldvista.org>wrote:

> GTM>ZP ES1+10^ORCACT01:ES1+16
> . S PSOI=+$P($G(^ORD(101.43,OI,0)),U,2) Q:PSOI'>0
> . S TYPE=$S($P(DG,"
> ")="O":"O",1:"I"),DEAFLG=$$OIDEA^PSSUTLA1(PSOI,TYPE)
> . ;Begin WorldVistA change ;NO HOME
> . ;I (DEAFLG>0||$$ISCLOZ^ORALWORD(OI)),'$L($$DEA^XUSER()) S
> ERROR="You must hav
> e a valid DEA# or VA# to sign this order!" Q
> . I $S(DEAFLG>0:1,$$ISCLOZ^ORALWORD(OI):1,1:0),'$L($$DEA^XUSER())
> S ERROR="You
> must have a valid DEA# or VA# to sign this order!" Q
> . ;End WorldVistA change
> . D PKISITE^ORWOR(.PKI)
>
>
> This is just a cache'-ism.
> The || is not standard MUMPS code. It has to be replaced with a $SELECT
> statement.
> (code courtesy of Skip Ormsby)
>
> On Fri, Mar 30, 2012 at 11:36 AM, Jignesh Patel <jigneshmpatel@gmail.com>wrote:
>
>>
>> Chris the error is
>>
>> M ERROR=ES1+12^ORCACT01, Right Parenthesis
>>
>> Expected, 150373642, %GTM-EPARENMISSING
>>
>> LAS REF=^PSDRUG(“ASP”,3,4)
>>
>>
>>
>> On Fri, Mar 30, 2012 at 8:16 AM, Christopher.Edwards <
>> Christopher.Edwards@krminc.com> wrote:
>>
>>> Jignesh:
>>>
>>> Apparently the web viewer does not display any attachements you may have
>>> on your e-mail (which I assume there is an attachment as the message seems
>>> to indicate there is one). Can you write out the actual error message?
>>>
>>> Thanks!
>>> --
>>> Full post: http://www.osehra.org/discussion/pharmacy-error
>>> Manage my subscriptions:
>>> http://www.osehra.org/og_mailinglist/subscriptions
>>> Stop emails for this post:
>>> http://www.osehra.org/og_mailinglist/unsubscribe/665
>>>
>>
>>
>> --
>> Full post: http://www.osehra.org/discussion/pharmacy-error
>> Manage my subscriptions:
>> http://www.osehra.org/og_mailinglist/subscriptions
>> Stop emails for this post:
>> http://www.osehra.org/og_mailinglist/unsubscribe/665
>>
>
>

like0

pharmacy error

Jignesh Patel's picture

Thank you very much David.
-Jignesh

On Fri, Mar 30, 2012 at 4:41 PM, David Whitten <whitten@worldvista.org>wrote:

> GTM>ZP ES1+10^ORCACT01:ES1+16
> . S PSOI=+$P($G(^ORD(101.43,OI,0)),U,2) Q:PSOI'>0
> . S TYPE=$S($P(DG,"
> ")="O":"O",1:"I"),DEAFLG=$$OIDEA^PSSUTLA1(PSOI,TYPE)
> . ;Begin WorldVistA change ;NO HOME
> . ;I (DEAFLG>0||$$ISCLOZ^ORALWORD(OI)),'$L($$DEA^XUSER()) S
> ERROR="You must hav
> e a valid DEA# or VA# to sign this order!" Q
> . I $S(DEAFLG>0:1,$$ISCLOZ^ORALWORD(OI):1,1:0),'$L($$DEA^XUSER())
> S ERROR="You
> must have a valid DEA# or VA# to sign this order!" Q
> . ;End WorldVistA change
> . D PKISITE^ORWOR(.PKI)
>
>
> This is just a cache'-ism.
> The || is not standard MUMPS code. It has to be replaced with a $SELECT
> statement.
> (code courtesy of Skip Ormsby)
>
> On Fri, Mar 30, 2012 at 11:36 AM, Jignesh Patel <jigneshmpatel@gmail.com>wrote:
>
>>
>> Chris the error is
>>
>> M ERROR=ES1+12^ORCACT01, Right Parenthesis
>>
>> Expected, 150373642, %GTM-EPARENMISSING
>>
>> LAS REF=^PSDRUG(“ASP”,3,4)
>>
>>
>>
>> On Fri, Mar 30, 2012 at 8:16 AM, Christopher.Edwards <
>> Christopher.Edwards@krminc.com> wrote:
>>
>>> Jignesh:
>>>
>>> Apparently the web viewer does not display any attachements you may have
>>> on your e-mail (which I assume there is an attachment as the message seems
>>> to indicate there is one). Can you write out the actual error message?
>>>
>>> Thanks!
>>> --
>>> Full post: http://www.osehra.org/discussion/pharmacy-error
>>> Manage my subscriptions:
>>> http://www.osehra.org/og_mailinglist/subscriptions
>>> Stop emails for this post:
>>> http://www.osehra.org/og_mailinglist/unsubscribe/665
>>>
>>
>>
>> --
>> Full post: http://www.osehra.org/discussion/pharmacy-error
>> Manage my subscriptions:
>> http://www.osehra.org/og_mailinglist/subscriptions
>> Stop emails for this post:
>> http://www.osehra.org/og_mailinglist/unsubscribe/665
>>
>
>

like0