Originally posted by: jvanboga
The rule I showed was for an older type tree version 4.3.2.... This is for HIPAA pack 4.4.1 (hipaa_x12_type_2.mtt)
WHEN(PRESENT($),
PRESENT(CityName Element:$) & LocQual'r Element:$ != "RJ" & WHEN(ABSENT(CountryCd Element:$) |
MEMBER(CountryCd Element:$,{"AS","CA","FM","GU","MH","MP","PW","PR","UM","VI"}),
(PRESENT(StateProvinceCd Element:$) & PRESENT(PostalCd Element:$)),
(ABSENT(StateProvinceCd Element:$)) &
CountryCd Element:$ != "US"))
Should =
WHEN(PRESENT($),
PRESENT(CityName Element:$) & LocQual'r Element:$ != "RJ" & WHEN(ABSENT(CountryCd Element:$) |
MEMBER(CountryCd Element:$,{"AS","CA","FM","GU","MH","MP","PW","PR","UM","VI", "US"}),
(PRESENT(StateProvinceCd Element:$) & PRESENT(PostalCd Element:$)),
(ABSENT(StateProvinceCd Element:$)) &
CountryCd Element:$ != "US"))
This rule is one that is open for some interpretation the TR3 states ,for n404: "Required when the address is outside the United States of America. If not required by this implementation guide, do not send." So technically the file is out of compliance is they send 'US' for anything other than a province of the US. We get it all the time though.
#IBM-Websphere-Transformation-Extender#IBMSterlingTransformationExtender#DataExchange