Skip to content
Duane Edwards edited this page Jan 29, 2015 · 10 revisions
string message = @"MSH|^~\&|CohieCentral|COHIE|Clinical Data Provider|TCH|20060228155525||QRY^R02^QRY_R02|1|P|2.3|QRD|20060228155525|R|I||||10^RD&Records&0126|38923^^^^^^^^&TCH|||";

PipeParser parser = new PipeParser();
IMessage m = parser.Parse(message);
QRYR02 qryR02 = m as QRYR02;
Assert.IsNotNull(qryR02);
Assert.AreEqual("38923", qryR02.QRD.GetWhoSubjectFilter(0).IDNumber.Value);
Clone this wiki locally