Hi,
I'm trying to map an HL7 message (S12, v 2.3.1) to another HL7 msg (also
S12
, v 2.3.1, but different structure), but I'm having a problem getting a
particular HL7 schema to work:
I created a new BTAHL7 schema from the BizTalk provided templates.
File name is: SIU_S12_231_GLO_DEF
Root name is: SIU_S12_231_GLO_DEF
Target Namespace is: http://hcp.com/HIS2/HL7/2X
Namespace is: HIS_Custom_Schema
I modified this schema to fit the message from the source.
Then, I created a 2nd new BTAHL7 schema from the templates:
File name is: send_SIU_S12_231_GLO_DEF
Root name is: SIU_S12_231_GLO_DEF
Target Namespace is: http://hcp.com/HIS/HL7/2X
(note that it's different
from above)
Namespace is: BTAHL7Schemas
I did not modify this schema.
I configured the parties to match the MSH segment in the message (MSH-3
and
MSH-5), and set the correct Target Namespaces in the validation tab.
The first schema works just fine, parses the message using the HL7 receive
pipeline, and also will send the message out using the HL7 send pipeline.
The second schema, however, doesn't work at all. I've modified the HL7
message by hand, to match this schema, just to test it, and I just get an
error message. I get this error whether I use the 2nd schema in the
receive
or the send ****t, and only with the 2nd schema:
Error details: There was a failure executing the receive pipeline:
"BTAHL72XPipelines.BTAHL72XReceivePipeline, BTAHL72XPipelines,
Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source:
"BTAHL7 2.X Disassembler" Receive ****t: "IDX_SIU_1WAY_REC" URI:
"localhost:11000" Reason: Object reference not set to an instance of an
object.
Can anyone please help?
Thanks for any input.
--
Gordon T


|