User bio
404 bio not found
Member since Feb 17, 2023
Posts:
Replies:
Hi Julian, no I don't get this option
I did something similar by saving OBX segments in %Library.ListOfObjects
I would say:
- Create an empty OBX segment object
- Use iterator "i" to Iterate over all the OBXs in the source message OBX group while checking if OBX:5 contains "Total" string,
- If yes, save an index of this OBX in a list/array %ArrayOfDataTypes = IndexList, and increase the iterator "i" by 1
- At the same time copy each OBX segment from a source message as a segment object in a list of objects, use %Library.ListOfObjects = ObjectsList at the index "i".
- When all OBXes are copied across, then use InsertAt() to insert empty OBX segments into ObjectsList, where index matches the index fromIndexList. Keep in mind the index "i" shifted by one each time "Total" string was found
- Create an empty target message, copy PID, ORC, OBR segments across from the source message
- Iterate over %Library.ListOfObjects , extracting OBX segments and copying them to the new target messgae.
Let me know how it went. :)
Certifications & Credly badges:
Lukasz has no Certifications & Credly badges yet.
Global Masters badges:
Lukasz has no Global Masters badges yet.
Followers:
Lukasz has no followers yet.
Following:
Lukasz has not followed anybody yet.
Hi Brett, I edited .code-workspace by replacing "isfs-readonly" with "isfs" and it worked. Thank you!
I also found clarification here: Edit Code Directly on an InterSystems Server | Use Visual Studio Code as a Development Environment for InterSystems Applications | InterSystems Components and Tools