Hello
I'm using the HL7 adapter pack. I've imported de OUL R21 2.4 Message in project. I've used the generator. Everything works fine. But I'm having some trouble on the obx segment on Field5 (Result value) HL7 standards describes this as a field that can be one of the next complex types: AD,CF,CK,CN,CP,CWE,CX,DT,DTM,ED,FT,MO,NM,PN,RP,SN,ST,TM,TN,TX,XAD,XCN,XON,XPN,XTN. But the generated XSD uses the Type Varries. So if biztalk receives a message of the type for example SN the adapter gives next error: 102 Datatype Unknow
This happens on next example
OBX|16|SN|NORMO^Normoblasten^GLIMS||<^1.0|/100 WBC^^GLIMS|<^1.0||||F|||20130104230400|P8^P8^GLIMS|||XE5000_2^GLIMS|20130104234534
This is type SN but if I remove the ^ from <^1.0. Then it works fine. So I think this is a problem in the adapter because a string type (the varrie type) needs to escape the ^ with \^ So it does not except ^ in a string but in this field it is possible? But I've solved this now with a work around i've created a complex type with a bunch of fields and subfields on each field. But is there another way that is better? Thanks in advance.
Kind regards