hey the sample message which i have posted , mirth is taking data from there n not my xml ????
My xml looks like <?xml version="1.0" encoding="UTF-8"?>
<Root>
<Patient>
<caseid>
</caseid>
<lname>
</lname>
<sname>
</sname>
<db>
</db>
</Patient>
</Root>
n i have pasted the out going data as follows:MSH|^~\&|Mirth|1|||2006044535||ADT^A04|603 340|D|2.3.1
EVN|A04|20060404090742
PID|1|800888^^^Mirth^PN|999945682^^^^1||TEST^PATIE NT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M||6635130^^^Mirth ^VN^1|000987655|||2|||||NOT A VETERAN|||N
PD1||||1335^karen^alcott^^^^^^CI|||I
when i begin the transformation my file looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<ADT_A01>
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>^~\&</MSH.2>
<MSH.3>
<HD.1>Mirth</HD.1>
</MSH.3>
<MSH.4>
<HD.1>1</HD.1>
</MSH.4>
<MSH.7>
<TS.1>2006044535</TS.1>
</MSH.7>
<MSH.9>
<MSG.1>ADT</MSG.1>
<MSG.2>A04</MSG.2>
</MSH.9>
<MSH.10>603340</MSH.10>
<MSH.11>
<PT.1>D</PT.1>
</MSH.11>
<MSH.12>
<VID.1>2.3.1</VID.1>
</MSH.12>
</MSH>
<EVN>
<EVN.1>A04</EVN.1>
<EVN.2>
<TS.1>20060404090742</TS.1>
</EVN.2>
</EVN>
<PID>
<PID.1>1</PID.1>
<PID.2>
<CX.1>800888</CX.1>
<CX.4>
<HD.1>Mirth</HD.1>
</CX.4>
<CX.5>PN</CX.5>
</PID.2>
<PID.3>
<CX.1><caseid>101</caseid> <caseid>102</caseid> <caseid/></CX.1>
<CX.4>
<HD.1>AccMgr</HD.1>
</CX.4>
<CX.5>MR</CX.5>
<CX.6>
<HD.1>1</HD.1>
</CX.6>
</PID.3>
<PID.5>
<XPN.1>
<FN.1>TEST</FN.1>
</XPN.1>
<XPN.2>PATIENT MF</XPN.2>
</PID.5>
<PID.7>
<TS.1>19570414</TS.1>
</PID.7>
<PID.8>M</PID.8>
<PID.10>
<CE.1>W</CE.1>
</PID.10>
<PID.11>
<XAD.1>21 PALM MANOR</XAD.1>
<XAD.3>EAST SYRACUSE</XAD.3>
<XAD.4>NY</XAD.4>
<XAD.5>130570000</XAD.5>
<XAD.7>M</XAD.7>
</PID.11>
<PID.12>31</PID.12>
<PID.15>
<CE.1>E</CE.1>
</PID.15>
<PID.16>
<CE.1>M</CE.1>
</PID.16>
<PID.18>
<CX.1>6635130</CX.1>
<CX.4>
<HD.1>Mirth</HD.1>
</CX.4>
<CX.5>VN</CX.5>
<CX.6>
<HD.1>1</HD.1>
</CX.6>
</PID.18>
<PID.19>000987655</PID.19>
<PID.22>
<CE.1>2</CE.1>
</PID.22>
<PID.27>
<CE.1>NOT A VETERAN</CE.1>
</PID.27>
<PID.30>N</PID.30>
</PID>
<PD1>
<PD1.4>
<XCN.1>1335</XCN.1>
<XCN.9>
<HD.1>AccMgr</HD.1>
</XCN.9>
<XCN.13>CI</XCN.13>
</PD1.4>
<PD1.7>I</PD1.7>
</PD1>
</ADT_A01>
where is the data which i had send in my xml file ? why is it showing me the data which i posted as a sample .please tell me asap
My xml looks like <?xml version="1.0" encoding="UTF-8"?>
<Root>
<Patient>
<caseid>
</caseid>
<lname>
</lname>
<sname>
</sname>
<db>
</db>
</Patient>
</Root>
n i have pasted the out going data as follows:MSH|^~\&|Mirth|1|||2006044535||ADT^A04|603 340|D|2.3.1
EVN|A04|20060404090742
PID|1|800888^^^Mirth^PN|999945682^^^^1||TEST^PATIE NT MF||19570414|M||W|21 PALM MANOR^^EAST SYRACUSE^NY^130570000^^M|31|||E|M||6635130^^^Mirth ^VN^1|000987655|||2|||||NOT A VETERAN|||N
PD1||||1335^karen^alcott^^^^^^CI|||I
when i begin the transformation my file looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<ADT_A01>
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>^~\&</MSH.2>
<MSH.3>
<HD.1>Mirth</HD.1>
</MSH.3>
<MSH.4>
<HD.1>1</HD.1>
</MSH.4>
<MSH.7>
<TS.1>2006044535</TS.1>
</MSH.7>
<MSH.9>
<MSG.1>ADT</MSG.1>
<MSG.2>A04</MSG.2>
</MSH.9>
<MSH.10>603340</MSH.10>
<MSH.11>
<PT.1>D</PT.1>
</MSH.11>
<MSH.12>
<VID.1>2.3.1</VID.1>
</MSH.12>
</MSH>
<EVN>
<EVN.1>A04</EVN.1>
<EVN.2>
<TS.1>20060404090742</TS.1>
</EVN.2>
</EVN>
<PID>
<PID.1>1</PID.1>
<PID.2>
<CX.1>800888</CX.1>
<CX.4>
<HD.1>Mirth</HD.1>
</CX.4>
<CX.5>PN</CX.5>
</PID.2>
<PID.3>
<CX.1><caseid>101</caseid> <caseid>102</caseid> <caseid/></CX.1>
<CX.4>
<HD.1>AccMgr</HD.1>
</CX.4>
<CX.5>MR</CX.5>
<CX.6>
<HD.1>1</HD.1>
</CX.6>
</PID.3>
<PID.5>
<XPN.1>
<FN.1>TEST</FN.1>
</XPN.1>
<XPN.2>PATIENT MF</XPN.2>
</PID.5>
<PID.7>
<TS.1>19570414</TS.1>
</PID.7>
<PID.8>M</PID.8>
<PID.10>
<CE.1>W</CE.1>
</PID.10>
<PID.11>
<XAD.1>21 PALM MANOR</XAD.1>
<XAD.3>EAST SYRACUSE</XAD.3>
<XAD.4>NY</XAD.4>
<XAD.5>130570000</XAD.5>
<XAD.7>M</XAD.7>
</PID.11>
<PID.12>31</PID.12>
<PID.15>
<CE.1>E</CE.1>
</PID.15>
<PID.16>
<CE.1>M</CE.1>
</PID.16>
<PID.18>
<CX.1>6635130</CX.1>
<CX.4>
<HD.1>Mirth</HD.1>
</CX.4>
<CX.5>VN</CX.5>
<CX.6>
<HD.1>1</HD.1>
</CX.6>
</PID.18>
<PID.19>000987655</PID.19>
<PID.22>
<CE.1>2</CE.1>
</PID.22>
<PID.27>
<CE.1>NOT A VETERAN</CE.1>
</PID.27>
<PID.30>N</PID.30>
</PID>
<PD1>
<PD1.4>
<XCN.1>1335</XCN.1>
<XCN.9>
<HD.1>AccMgr</HD.1>
</XCN.9>
<XCN.13>CI</XCN.13>
</PD1.4>
<PD1.7>I</PD1.7>
</PD1>
</ADT_A01>
where is the data which i had send in my xml file ? why is it showing me the data which i posted as a sample .please tell me asap
Comment