Paul Riker · Jun 29, 2016 go to post

If I put a short value like "test" in there it encodes, then I copy the base64 and it decodes. If I copy a real base64 CCD it errrors out. Is it a character limitation?

Paul Riker · Jun 29, 2016 go to post

Similar error.

A run-time error occurred while executing the page

  • Error: <ILLEGAL VALUE>zOnPageHEAD+26^csp.decode.1
    ErrorNo: 5002
    CSP Page: /csp/ensemble/decode.csp
    Namespace: ENSEMBLE
    Class: csp.decode
    Routine: csp.decode.1
    Location: zOnPageHEAD+26
    Line: Set tString = $SYSTEM.Encryption.Base64Decode(tString)

  •  

Paul Riker · Jul 22, 2016 go to post

I'm new to this so I'm sure it's me, but I get 

do ^%GSIZE
Directory name: /hs/data/mgr/ensemble/ =>
All Globals? No => No
Global ^
0 globals selected from 187 available globals.
No globals were selected!

Paul Riker · Jul 22, 2016 go to post

Can you tell me the specific syntax? Should I just be able to run %SYS.GlobalQuery?

Paul Riker · Aug 22, 2016 go to post

This worked like a charm, thanks! What I didn't realize is that using commands in studio vs. cscession hiecontroller is different. Can I check the size of a specific table?

Paul Riker · Sep 9, 2016 go to post

Can I reference this same value in a DTL? I want to map it to a property of my message.

Paul Riker · Sep 28, 2016 go to post

This worked

HS.IHE.XDSb.RepositoryServices > HS.IHE.XDSb.DocumentSource.Operations

Paul Riker · Apr 4, 2017 go to post

That did the trick! I thought I had tried that but I think the test interface added more " for some reason.

Thanks for the note on the nullify. These are A04s and A08s from ambulatory, so I wouldn't think PV1-45 would apply.

Paul Riker · Apr 19, 2017 go to post

I can't receive it. I get "Discarding received non-hl7 data (963)"

Paul Riker · Jun 9, 2017 go to post

If I perform a transformation on my target before my code step, the code removes my transformation.

<assign value='"F"' property='target.{OBX:ObservationResultStatus}' action='set' />
<code>
<annotation>Convert to stream and copy to work around 32k character limitation</annotation>
<![CDATA[ do source.GetFieldStreamRaw(.stream, "OBX:5.5")
  do target.GetFieldStreamRaw(.dummy, "OBX:5.5", .rem)
  do target.StoreFieldStreamRaw(.stream, "OBX:5.5", rem)]]></code>

Paul Riker · Jun 9, 2017 go to post

I added the code to work around the <MAXSTRING> error. If I try and transform OBX after my code, the <MAXSTRING> error comes back.

Paul Riker · Sep 5, 2017 go to post

If I'm iterating through my dynamic SQL, do I need to clear my variables when I re-use them?

Paul Riker · Nov 20, 2017 go to post

Ensemble production items. I want to know the relationship between processes and production items. 

Paul Riker · Dec 27, 2017 go to post

Any idea how to tell what the URL should be? Is there a table that lists the Add Ons? A package?

Paul Riker · Jun 6, 2019 go to post

Thanks Robert. So am I wrapping those two things around my object.%Save()?

Paul Riker · Nov 16, 2017 go to post

Is there a better approach than this?

select convert(varchar(20),cast ('19770110' as datetime),101)