User bio
404 bio not found
Member since May 22, 2017
Posts:
Replies:
Salma Sarwar · Oct 6, 2020 go to post

Just an update I have tried the following however, the MSH segment seems to be getting overwritten, any ideas why?

s tMsg = ##class(EnsLib.HL7.Message).%New()
s tMsg.DocType ="2.3.1:DFT_P03"
s tSeg = ##class(EnsLib.HL7.Segment).%New()
set tSeg.DocType="2.3.1:PID"
s tsc = tMsg.SetValueAt("abc","MSH:9")
s tsc = tSeg.SetValueAt("PID","1")
s tsc = tSeg.SetValueAt("TEST","3.1")
set tsc=tMsg.SetSegmentAt(tSeg,2)
w tMsg.OutputToString()

I have also tried set tsc=  tMsg.AppendSegment(tSeg) which seems to be overwriting the MSH segment.

Any help would be great.

Salma Sarwar · Jun 22, 2020 go to post

Hi Suman,

Thank you for your reply, do you have any sample code for this?

Kind Regards,

Salma

Salma Sarwar · Jun 18, 2020 go to post

Hi Katherine,

Thank you for your prompt reply in our version of Healthcare I don't see the option for Authorization Instance ID do you happen to know why this is would be the case and is this required?

Kind Regards,

Salma

Certifications & Credly badges:
Salma has no Certifications & Credly badges yet.
Followers:
Salma has no followers yet.
Following:
Salma has not followed anybody yet.