Skip to content

Build HL7 message from scratch - not the result expected #4564

Answered by Migas1979
Migas1979 asked this question in Q&A
Discussion options

You must be logged in to vote

This is my final message
MSH|^~&|App||NUR||20210522200||ORU^R01|10072020530100004593|P|2.5||||AL|ER

Even after transforming and had adding
filename=sourceMap.get('originalFilename');
var parts= filename.split('_');
var pid=parts[0];
var bed=parts[1];

msg['PID']['PID.2']['PID.2.1']='1'
msg['PID']['PID.3']['PID.3.1']=pid;

msg['PV1']['PV1.2']['PV1.2.1']='I';
msg['PV1']['PV1.3']=bed;

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Hueli
Comment options

@Migas1979
Comment options

Answer selected by Migas1979
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants