FHIR Chat · nHapi Tersers · implementers

Stream: implementers

Topic: nHapi Tersers


view this post on Zulip Fruei (Jun 22 2019 at 17:39):

Hello again dear community, i am using " Tersers " to get data from an hl7 v2 messeage, well the thing is that , im trying to get the PatientName with this: string test = terser.Get("PID-5-1"); and that return me "nothing, instead if i use the same but changing the command for something like "MSH-16-2" i dont remember, its work , why it still happend me that ? i need to use things like PID-5-2 or EVN-2 , that commands does not work at all. I apologize for my english , im spanish-language native

view this post on Zulip Fruei (Jun 22 2019 at 17:41):

for more context here is my portion of code :

        string msg = txtHL7m.Text;

        PipeParser pParser = new PipeParser();
        var iMesseage = pParser.Parse(msg, "2.3");

        try
        {
            var terser = new Terser(iMesseage);
            string test = terser.Get(txtTerserExpression.Text);
            txtTerserResults.Text = test;
        }
        catch
        {
            Console.WriteLine("ERROR");
        }

view this post on Zulip Lloyd McKenzie (Jun 22 2019 at 18:55):

This chat group is generally focused on FHIR -related implementation. You may have better luck on chat.hl7.org or on the HAPI support group. @James Agnew?


Last updated: Apr 12 2022 at 19:14 UTC