Regarding schema validation

Apr 16, 2014 at 4:05 PM
Hi,

I am facing with error, it says that The element 'INTERCHANGE' in namespace 'www.edifabric.com/x12' has invalid child element 'S_ISA' in namespace 'www.edifabric.com/x12'. List of possible elements expected: 'S_ST, S_BIG' in namespace 'www.edifabric.com/x12'.

I have kept from XSD (\XSD\X12\00401\EF_X12_004010_810.xsd) and Class (\Classes\X12\00401\EF_X12_004010_810.cs) from the documentation at the Definitions project.

Do I need to change the InterchangeDirector.cs, InterchangeEdiBuilder.cs, InterchangeX12Builder in order to parse the 810 file format of version 004010. Below is the EDI file which I have. I have to process 855, 832, 850 also.

ISA00 00 ZZReceiver ZZSender 1404010504U004010005701250P>
GSINReceiverSender201404010504520126X004010
ST
810201260001
BIG201404010837954
1000374171DR
N1
BY
FOOD&DRUG#35
910035226989
N3PHARMACY # 0035
N3
1903 AVENUE EAST
N4
FALLSID83301
N1
SEHEALTH91Receiver
N3955 SOUTH
N4
LAKE CI
UT84119
ITD
01
300201404232200
IT1* 59497881EA1.2UI00080833216N400008083321VC3702677
PIDFEFFEXOR XR 75MG 30UU
IT1
5949789
3
EA
3.53UI00540289133N400054028913VC4771085
PID
FMONTELUKAST SODIUM 5MG 30
IT1
5949790
1
EA
50.55
UI00544550253N400054455025VC2261907
PID
FMETHOTREXATE 2.5MG 100
IT1
5949793
1
EA
3.58UI00937201984N400093720198VC3725678
PID
FPRAVASTATIN 20MG 90
IT1
5949794
1
EA
5.9
UI00937202981N400093720298VC3725694
PID
FPRAVASTATIN 40MG 90
IT1
5949795
1
EA
74.52
UI01730696007N400173069600VC3163219
PID
FADVAIR DISKUS 250-50MCG 60
IT1
5949796
0
EA
140.48UI03783003771N400378300377VC4792503
PID
FCANDESARTAN/HCTZ 32-25MG 90
IT1
5949800
1
EA
18.81
UI07811053011N400781105301VC2939213
PID
FBUPROPION 75MG 100
IT1
5949802
0
EA
11UI10702003019N410702000301VC4036299
PID
FPROMETHAZINE 25MG 100 API
IT1
5949804
1
EA
21.16UI42794018022N442794001802VC4797239
PID
FLIOTHYRONINE SOD 5MCG 100
IT1
5949805
1
EA
153.33
UI50458579307N450458057930VC4537478
PID
FXARELTO 20MG 30
IT1
5949806
0
EA
47.94
UI55111159056N455111015905VC4208294
PID
FOMEPRAZOLE 40MG 500 DR
IT1
5949807
0
EA
2.19UI55111164302N455111016430VC4584124
PID
FOLANZAPINE 5MG 30
IT1
5949808
2
EA
2.4
UI59310579226N459310057922VC4791034
PID
FPROAIR HFA 90MCG 8.5GM
IT1
1
EA
1.75
*UI20083110267N402008311026VC4065512
PID
FFUEL SURCHARGE DSD
TDS
34619
CTT
15
SE
43
201260001
GE1520126
IEA
1
000570125

Please let me know how to proceed with.

Regards,
Srini.
Apr 18, 2014 at 4:52 AM
Was able to figure out.
Coordinator
Apr 30, 2014 at 8:13 AM
Glad you figured it out mate.