Barry Veach · Nov 12, 2016 go to post

Excellent!

How do i isolate the individual setting?

e.g. I'd like to search for any ID that has a setting that's not null for ReplyCodeActions and then list what that value is

Seems like this is a collection or list of some kind, but can't figure out the correct syntax

Barry Veach · Aug 7, 2016 go to post

Does anyone have a working example of how the IsRecentManagedAlert() function is coded in the routing rule? 

I'm following the syntax, but can't get the function to return the ID of the existing managed alert, and therefore can't get the function to update the existing managed alert vs creating a new alert.

Barry Veach · Jan 17, 2018 go to post

You can access an element or attribute without loading a schema by using the "path" to the element or attribute. 

For an element called "name":

Document.{/ClinicalDocument/recordTarget/patientRole/providerOrganization/name}

For an attribute  of "id" called  "extension":

Document.{/ClinicalDocument/recordTarget/patientRole/providerOrganization/id/@extension}

Barry Veach · Jun 2, 2018 go to post

Not sure what version you are using.

In v 2017.2.1, if you edit the task, there is an export button to export the tasks.

On System Operation | Task Manager menu, there is an Import Tasks menu item.

You may have to edit the namespace name within the export if importing into a different namespace.

Barry Veach · Feb 22, 2020 go to post

Marc,

Thanks for the reply.

What I'm trying to do is to check the contents of each record that contains value for a result component (ObservationValue) to determine if it is null or = NP so I can filter out messages that do not contain any valid results. Since the record can have one or more  ObservationValue items in the message, I need to evaluate all that exist to determine whether the record is considered valid or not.

If it were an HL7 message, these would be the OBX-5 values in a message.

In the context of a record map these are properties in the record map defined as list of %String.

Tried your suggestion searching for some text I know is found in one of the records, but I get a PROPERTY DOES NOT EXISTS error. Perhaps I have the syntax wrong. I'm positive the field I'm using is defined and named as I have used in the rule.

This is the syntax I used in the rule:

Barry Veach · Feb 25, 2020 go to post

Hey Jeff,

I can't get the node that you have after the Document.Observation.Find with the text to search for

When i just type in the syntax, I get a compiler error.

The .Find is not really what I need to use as I want to gather all the list items.

Tried .GetAt methods, but can't seem to get anything to work.

Barry Veach · Feb 25, 2020 go to post

A compilation error

Going to try to write the function to loop through the fields as Marc suggested.

Thanks!

Barry Veach · Jan 14, 2021 go to post

I have a routing rule that uses Matches e.g. Matches "1P4N1P1A5N1A1P" that matches against this string <0508:F00002R>

How do I include literals within the expression editor?

Pattern match doc indicates something like this 1P4N":F"5N"R"1P

Since within the expression is surrounded by double-quotes, that breaks the syntax in the editor.

Have tried many variations, none of which work.

Barry Veach · Jan 17, 2021 go to post

Correct. Adding the qualifiers and using double-quotes did the trick

For string: 0508:F00002R this works "4N1"":F""5N1""R""" 

For string: 0508:CX00002R this works "4N1"":CX""5N1""R"""

Thanks!