User bio
404 bio not found
Member since Jan 12, 2023
Replies:

Thank you ,

I have tried the steps mentioned in the below post but i am not sure what values i need to use in few variables

https://community.intersystems.com/post/parse-hl7-content-json-request-e...

This is example mentioned in the link

SET tContent = %request.Content.Read()---->in %request do we need to declare any variable

WHILE '%request.Content.AtEnd {

SET tContent = tContent + %request.Content.Read()

}

SET tReq = {}.%FromJSON(tContent)

SET tInput = tReq.Message

// Remove your %New() statement and set tMsg like this

SET tMsg = ##class(EnsLib.HL7.Message).ImportFromString(tInput)

// Then you can either set the doctype manually or use PokeDocType()

Let me know  if you have any ideas on this one?

Certifications & Credly badges:
Joe has no Certifications & Credly badges yet.
Global Masters badges:
Followers:
Joe has no followers yet.
Following: