SKIDS checksum reference implementation

Available at http://code.vistaehr.com/skids

Mahalo,

Chris

like0

Comments

That was fast

Christopher Edwards's picture

Wow Chris.  That was fast.  checking out the code now and compare it to mine :)  I know i have a logic error somewhere.

As a side note maybe we start collections of mumps functions for different languages like $P, $E, etc.  I think most of these functions for different languages already exist ( i think Medsphere has one for C#, you have the beginnings of one in Java and VA may have one in VistALink?, one probably exists in CPRS/RPC Broker for Delphi; so these functions don't have to be recoded everytime we need them and have one implementation to fix bugs in.

like0

M functions

Chris Uyehara's picture

Yes! I like the idea. So in terms of the functions that we implement - do we code for Cache, GT.M or the M standard? I'm leaning towards the standard but man it ain't easy (at least for me) to decipher into requirements.

like0

M functions

Christopher Edwards's picture

Chris:

I think the standard is the one to follow :) as that is the authoritative source and we don't wind up writing functions that are implementation specific (something we are trying to get away from at the M level as well).

for the $F[IND] command it doesn't seem so hard to read:  http://71.174.62.16/Demo/AnnoStd?Frame=Main&Edition=1977&Page=a107090#Def_0002

However, i think that we may have to look at other sources like GT.m or Cache documentation to maybe clear idea of how some functions are implemented if the standard is unclear to the programmer.

FYI: I have found my logic bug(s) (multiple!) and pushed the latest changes out to my github if anyone is interested. (https://github.com/ChristopherEdwards/SKIDS).

I will start factoring the m Functions out into their own file soon to get this ball rolling.

like0

success - hazah!  lol yeah $f

Chris Uyehara's picture

success - hazah! 

lol yeah $f - not hard. im just chewing on the fat from tstart... :)

like0

agree standard can be hard to read at times

Christopher Edwards's picture

i was thinking this during my last post, but forgot to write it:  i do agree the standard can be hard to read at times.

Chris E.

like0