go to post Barry Veach · Jan 17, 2021 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!
go to post Barry Veach · Jan 14, 2021 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.
go to post Barry Veach · Feb 25, 2020 A compilation error Going to try to write the function to loop through the fields as Marc suggested. Thanks!
go to post Barry Veach · Feb 25, 2020 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.
go to post Barry Veach · Feb 22, 2020 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:
go to post Barry Veach · Jun 2, 2018 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.
go to post Barry Veach · Jan 17, 2018 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}
go to post Barry Veach · Nov 12, 2016 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 isSeems like this is a collection or list of some kind, but can't figure out the correct syntax
go to post Barry Veach · Aug 7, 2016 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.