R
requeth
I am trying to create (another) type of report and I have been beating
my head against the wall for several minutes now. Here's the problem:
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="SY"
CMS27423400_2140CA_REF02_ProviderIdentifier="933844887"/>
</CMS27423400_2140CA>
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="1G"
CMS27423400_2140CA_REF02_ProviderIdentifier="22334455"/>
</CMS27423400_2140CA>
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="G2"
CMS27423400_2140CA_REF02_ProviderIdentifier="83126"/>
</CMS27423400_2140CA>
Note: this is partially through a document, but shouldnt matter. Now, I
can have any of 12 codes where the SY, 1G, and G2 is located, and in
any order. Each record contains these, and I am only attempting to pull
the G2's and store them in a report. I have it set up, but when I run
it I can only pull the G2 if it is the first loop in each record. If I
have three as above, it kicks out. I am trying to figure out how to
step down through them, inside of a heirarchy record, and see if any
are G2's (since sometimes one may not be listed at all). How do I do
this?
Thanks
my head against the wall for several minutes now. Here's the problem:
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="SY"
CMS27423400_2140CA_REF02_ProviderIdentifier="933844887"/>
</CMS27423400_2140CA>
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="1G"
CMS27423400_2140CA_REF02_ProviderIdentifier="22334455"/>
</CMS27423400_2140CA>
<CMS27423400_2140CA>
<CMS27423400_2140CA_REF_ProviderIdentificationNumbers
CMS27423400_2140CA_REF01_ReferenceIdentificationQualifier="G2"
CMS27423400_2140CA_REF02_ProviderIdentifier="83126"/>
</CMS27423400_2140CA>
Note: this is partially through a document, but shouldnt matter. Now, I
can have any of 12 codes where the SY, 1G, and G2 is located, and in
any order. Each record contains these, and I am only attempting to pull
the G2's and store them in a report. I have it set up, but when I run
it I can only pull the G2 if it is the first loop in each record. If I
have three as above, it kicks out. I am trying to figure out how to
step down through them, inside of a heirarchy record, and see if any
are G2's (since sometimes one may not be listed at all). How do I do
this?
Thanks