I guess that you are using a Enslib.HL7.Service that uses EnsLib.File.InboundAdapter as Adapter. The problem is that the name of the file is not a property of Enslib.HL7.Message class, so you have to follow these steps:

  1. Create your own service that extends to Enslib.HL7.Service.
  2. Overwritte OnProcessInput process to get the name of the readed stream:
    Set tFileName=pInput.Attributes("Filename")
    set sessionID = $$$JobSessionIdset^GlobalName("Session", sessionID) = tFileName
    do##super()
  3. From DTL use code to get the global that you created before getting the ID session from Enslib.HL7.Message and assign it to MSH property:
  4. Set globalValue = $GET(^GlobalName("Session", sessionID))
    
  5. And finally assign globalValue variable to the MSH propery (using SET from the DTL):
    target.{MSH.PropertyName} = globalValue

     

I saw this in a film...a self-consciousness IA that take a nap...or it was the world? Anyway, John Connor will save us.

You could create your own adapter based using Embedded Python. Here you can find an example of connection with Python and here an example of a similar adapter that I created for connection with Firebase.

You could create your own adapter based using Embedded Python. Here you can find an example of connection with Python and here an example of a similar adapter that I created for connection with Firebase.

I'm not very sure that you should extend EnsLib.REST.Service to define a REST service with URLMap, but anyway, EnsLib.REST.Service is using EnsLib.HTTPInbound.Adapter so you can get the input data from OnProcessInput like this:

Method OnProcessInput(pInput As%GlobalCharacterStream, Output pOutput As%RegisteredObject) As%Status
{
     set authorization = pInput.Attributes("authorization")
...

Here is the doc related: https://docs.intersystems.com/healthconnect20251/csp/docbook/DocBook.UI…

If the class of the message extends Ens.Request you can send whatever you want. To validate the class of the message you only need $CLASSNAME method.

  • Went to the sea or a lake ❎
  • Hiked/enjoyed nature ✅
  • Traveled somewhere new ❎ 
  • Attended a concert or festival ✅
  • Watched a movie or series ✅
  • Read a book ✅
  • Earned points and redeemed a reward on Global Masters 🏆 ✅
  • Joined READY 2025 🎉❎
  • Spent time with family or friends ✅

Hi @Vishal Pallerla!

%iFind index cover different type of searchs, you can find here  all the conditions. For your example the search LIKE '%example%' is equivalent to:

%ID%FIND search_index(IndexTitulo, '*example*')

And it should return exactly the same number of matches.

  • Name: Luis Ángel Pérez
  • Where you’re from / based: I'm from Valladolid, a medium-size (Spain-standard) city in the center-north of Spain, but I'm working in Madrid.
  • What you do (your role / company / areas of interest): I'm sales engineer for InterSystems Iberia.
  • Expertise – I've been working as Java developer for 15 years and as Sales Engineer for the last 5...ufff, 20 years of experience! I feel myself a bit old...About 17 years working for Health sector.
  • Fun Fact or Hobbies – I love the history and my 5 years old son too! When somebody ask him about what is his favourite superhero he always answers...Julius Cesar!
  • LinkedIn – https://www.linkedin.com/in/luis-%C3%A1ngel-p%C3%A9rez-ramos-55393954/