I am new to Hapi and HL7.. I am parsing a message and need to write a validator for the Observation Value in the OBX message. I am very comfortable in RegEx so I will use that. The only problem I have is specifying this this Observation Field in the RuleBinding object. I don’t understand how to specify the Scope.. can someone help me..

        Rule observationValueRegEx = new RegexPrimitiveRule(bla la bla);

        getPrimitiveRuleBindings().add(new RuleBinding("*", WHAT-GOES-HERE, observationValueRegEx));

should this be “OBX^5” ?

In advance.. thanks guys

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Hl7api-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hl7api-devel

Reply via email to