go to post William Liu · Jul 3 Prefer Rule Editor Framework without DTL(too expensive) if: Working on a single protocol(e.g., HL7) It can be simple and efficient if: Working on a single cloned object(e.g., cloned from HL7 msg) With benefits: Separate Rules logic from the code Edit rules externally with help of Export & Import in Business Rule List page Replace Open Source Drools and bring in their customers
go to post William Liu · Jun 26 Each DTL calls “ConstructClone” to make a copy of the message before making any changes to it. There will be hundreds of cloned-objects in case of hundreds of DTLs It is expected to run the rules chain by using Rule Editor without DTL, namely against a SINGLE cloned-object. It will be much efficient in case of hundreds or thousands of rules under same protocol, for example HL7 2.3, ORU_R01. Question is how to pass the cloned-object from one rule to another, and send the modified object to target Process or Operation in Rule Editor?
go to post William Liu · Jun 18 The case is currently implemented by using other Open Source Utility.I would find the efficient workaround for migration, but other than DTL mentioned-above Enrico, Thank you very much! I stop here with you
go to post William Liu · Jun 17 Hi Enrico, thank you! Do you have the sample code?//using a single cloned Object. The purpose is to avoid the huge amount of source-target DTL processes while working with several hundreds of Rules Here is a sample result message (HL7 ORU_R01) to process MSH|^~\&|CWS|LAB||EXE11|20200616173921||ORU^R01|20200616173921847|P|2.3|||||||PID|1||6789||TEST^S^||||||||||||||ORC|RE|L616041|||||||20200616170303OBR|1|L616041||HEMATO^HEMATO||20200616170303|20200616000000||||N||||||||||||||FOBX|1|NM|WBC^WBC^||5.88|||||N|F||||SXN901|6000^6000..........================================================ Sample case: under condition 1 update "NM" to "N01" in first rule under condition 2update "WBC" to "001" in second rule send the cloned object to next process "MyNextProces"
go to post William Liu · Mar 6 If the cloned-object(from EnsLib.HL7.Message) instead of original is used in the ClassMethod that Christina defined above the "assign" action would work. But the question is how to make the "send" action to send the cloned-object?
go to post William Liu · Feb 28 I see the following, run it and get "Error: mensagem immutable" How to use the cloned-object(from EnsLib.HL7.Message), have multiple rules (in the same RuleSet) share it one after another, and finally send it instead of original EnsLib.HL7.Message.
go to post William Liu · Feb 28 A list of business rules (defined in a process) to run before sending to target(an operation) The following case does not work due to mensagem immutable (As EnsLib.HL7.Message): https://community.intersystems.com/post/how-assign-value-variable-business-rules-using-function "The purpose is to edit the HL7 ORU R01 message"
go to post William Liu · Feb 27 How can we have the multiple business rules run on a single cloned-object(EnsLib.HL7.Message), and send the cloned-object in Rule Editor? Any sample code? The purpose is to edit the HL7 ORU R01. Thx!
go to post William Liu · Feb 21 Hi Jeff I would set up Business Rule to check fields and assign values for HL7 ORU_R01 by using Intersystems IRIS for Health. Your posting above is just what I wanted. Please help me how to go there. What Type and Context Class should be in the following Wizard:
go to post William Liu · Feb 8 Hi Rizmaan What is OOB transformations? Any detailed information? Thank you very much? William
go to post William Liu · Feb 1 Sorry Luis, I hope I can discuss with other people in the future as I did. Thank you
go to post William Liu · Jan 23 Hi Alexey, Thank you very much! There are huge amount of business rules applied now by using drools, and to be applied during data transfer and transformation in IRIS. Need your guidance! Best, William
go to post William Liu · Jan 14 Hi Jeffrey Thank you! I see them and a lot of differences between ASTM E1394 in IRIS and my ones I would find the existing ASTM schema, build a custom ASTM schema(like custom HL7 schema), then import it and transform naturally. Best William