I have been working with node.js and gtm. I have come up with an easy and tight connection between the two. I have come to the conclusion that working with node.js and gtm is so much simpler then understanding Medicare and Social Security.
Starting the nodejs service:
[parallels@localhost nodejs]$ node test.js
Sat Jun 13 2020 22:41:18 GMT-0400 (Eastern Daylight Time): Server has started.
This is a test routine at $H time: 65543,81830 Date: 13-JUN-20 gtmgbldir variable: /home/parallels/.fis-gtm/V6.3-012_x86_64/g/gtm.gld PARAM1: undefined PARAM2: undefined Last Line
The results for one parameter:
http://linux.local:8080/test/param1variable
This is a test routine at $H time: 65543,81894 Date: 13-JUN-20 gtmgbldir variable: /home/parallels/.fis-gtm/V6.3-012_x86_64/g/gtm.gld PARAM1: param1variable PARAM2: undefined Last LineThe results for two parameters:http://linux.local:8080/test/param1variable/param2variableThis is a test routine at $H time: 65543,81959 Date: 13-JUN-20 gtmgbldir variable: /home/parallels/.fis-gtm/V6.3-012_x86_64/g/gtm.gld PARAM1: param1variable PARAM2: param2variable Last LineChattanooga Tennessee has become an Epic town, but my physician is always complaining about the very slow ICD-10 lookup functionality. So my goal with this is to create a node.js front end that can be used with a FileMan file and see how fast I can get the lookup functionality to work. I plan to index all the words in each ICD-10 definition, and use that index allow the user to type in multiple words for the lookup. The AJAX style lookup will trigger on the first work, then limit by each successive word.It sounds like a possible fast plan. I will let you know when it's done and if it actually is fast.I also think the the same functionality could be used for the NPI (National Provider Index) lookup.
module.exports = function(args, finished) {
let result = this.documentStore.fn('sum^math', args.x, args.y);
finished({result: result});
};
So in the example above, all the logic is in M code inside sum^math - QEWD is doing the equivalent of set result=$$sum^math(x,y)
There's about 11 man-years of Node/M integration work and experience in QEWD, and it's been hammered by lots of people doing all sorts of different things, so it's tried and tested and solid. Seems a shame not to take advantage of that....
Rob