<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 834 files in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747960#M234843</link>
    <description>&lt;P&gt;Here's a paper that discusses SAS and the 837 transaction.&amp;nbsp; Perhaps you could do something similar for the 834, but as I mentioned usually specialized software is employed to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings13/300-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/300-2013.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Google some more, but my quick Googling didn't turn up anything that would indicate that SAS has a package to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 20:47:21 GMT</pubDate>
    <dc:creator>jimbarbour</dc:creator>
    <dc:date>2021-06-14T20:47:21Z</dc:date>
    <item>
      <title>834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747947#M234840</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone know how to import an 834 file, the format used by employers to communicate their employees' health insurance data,&amp;nbsp; into SAS? Below is a screenshot form an example:&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;INS*Y*18*030*XN*A*E**FT~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;REF*OF*152239999~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;REF*1L*Blue~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DTP*336*D8*20070101~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;NM1*IL*1*BLUTH*LUCILLE****34*152239999~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;N3*224 N DES PLAINES*6TH FLOOR~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;N4*CHICAGO*IL*60661*USA~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DMG*D8*19720121*F*M~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;HD*030**VIS**EMP~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DTP*348*D8*20111016~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;INS*N*19*030*XN*A*E***N*N~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;REF*OF*152239999~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;REF*1L*Blue~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DTP*357*D8*20111015~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;NM1*IL*1*BLUTH*BUSTER~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;N3*224 N DES PLAINES*6TH FLOOR~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;N4*CHICAGO*IL*60661*USA~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DMG*D**19911015*M-HD*030**VIS~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DTP*348*D8*20110101~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;DTP*349*D8*20111015~&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Here is a crosswalk of some of the codes:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;INS*Y&lt;/TD&gt;&lt;TD&gt;Member Level Detail&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;REF*OF&lt;/TD&gt;&lt;TD&gt;Subscriber Number&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;REF*1L&lt;/TD&gt;&lt;TD&gt;Group Sub-location Division (GSD)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DTP*336&lt;/TD&gt;&lt;TD&gt;Hire date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;NMI&lt;/TD&gt;&lt;TD&gt;Employee Name&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;N3&lt;/TD&gt;&lt;TD&gt;Employee Street Address&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;N4&lt;/TD&gt;&lt;TD&gt;Employee City, State, Zip, Country&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DMG&lt;/TD&gt;&lt;TD&gt;Member Demographics&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;HD&lt;/TD&gt;&lt;TD&gt;Coverage Data&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DTP*348&lt;/TD&gt;&lt;TD&gt;Coverage Dates&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;DTP*349&lt;/TD&gt;&lt;TD&gt;Coverage End Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;INS*N&lt;/TD&gt;&lt;TD&gt;Dependent&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Does anyone have any suggestions?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Diane&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:05:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747947#M234840</guid>
      <dc:creator>abqdiane</dc:creator>
      <dc:date>2021-06-14T20:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747953#M234841</link>
      <description>&lt;P&gt;An 834 transaction is a specialized X12 format for&amp;nbsp;EDI.&amp;nbsp; Usually, specialized translation software is used.&amp;nbsp; I'll Google it, but I don't know if SAS offers this type of translation.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:38:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747953#M234841</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T20:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747958#M234842</link>
      <description>&lt;P&gt;I turned up the below.&amp;nbsp; I see that he mentions third party software.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimbarbour_0-1623703433784.png" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/60381i58992251AEDC9C94/image-size/large?v=v2&amp;amp;px=999" role="button" title="jimbarbour_0-1623703433784.png" alt="jimbarbour_0-1623703433784.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:44:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747958#M234842</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T20:44:30Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747960#M234843</link>
      <description>&lt;P&gt;Here's a paper that discusses SAS and the 837 transaction.&amp;nbsp; Perhaps you could do something similar for the 834, but as I mentioned usually specialized software is employed to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings13/300-2013.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings13/300-2013.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Google some more, but my quick Googling didn't turn up anything that would indicate that SAS has a package to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jim&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 20:47:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747960#M234843</guid>
      <dc:creator>jimbarbour</dc:creator>
      <dc:date>2021-06-14T20:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747964#M234847</link>
      <description>Is it coming across as text or XML? As shown it's pretty trivial to parse it using a simple data step but I'm also guessing it gets more complicated, ie mulitple dependents and such. And this is just the registration files or do you also need to deal with claims files?</description>
      <pubDate>Mon, 14 Jun 2021 21:05:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747964#M234847</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-14T21:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747965#M234848</link>
      <description>&lt;P&gt;Thanks for checking.&amp;nbsp; I was hoping that someone had written code for it. It's worth asking.&lt;/P&gt;&lt;P&gt;I'll take a look at the paper.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Diane&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:05:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747965#M234848</guid>
      <dc:creator>abqdiane</dc:creator>
      <dc:date>2021-06-14T21:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747971#M234851</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, there can be multiple dependents and a spouse or not. Sometimes there's a SSN and sometimes not.&lt;/P&gt;&lt;P&gt;My goal is to compare what is in the weekly 834 and a report from the enrollment system. Sadly, the 834 enrollment file is manually entered so we want to check the data entry.&amp;nbsp; This is only for the enrollment file.&lt;/P&gt;&lt;P&gt;thanks for responding.&lt;/P&gt;&lt;P&gt;Diane&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:30:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747971#M234851</guid>
      <dc:creator>abqdiane</dc:creator>
      <dc:date>2021-06-14T21:30:40Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747973#M234853</link>
      <description>&lt;P&gt;Very rough idea of how you can get started - my coding for this kind of stuff is getting too rusty.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
infile cards DSD dlm="*";
input one $ two$ @@;

if one="INS" and two = "Y" then do;
input @1 var1 $ VAR2 $ VAR3 $ (VAR4-VAR9) ($)
     / (var10-vAR12) ($)  
     / (var13-var15) ($)
     / (var16-vAR19) ($)
    /  (var20-VAR29) ($); 

end;
ELSE IF ONE = "INS" &amp;amp; TWO = "N" THEN DO;
input @1 var1 $ VAR2 $ VAR3 $ (VAR4-VAR10) ($)
     / (var10-vAR12) ($)  
     / (var13-var15) ($)
     / (var16-vAR19) ($)
    /  (var20-VAR25) ($); 
END;
cards;
INS*Y*18*030*XN*A*E**FT~
REF*OF*152239999~
REF*1L*Blue~
DTP*336*D8*20070101~
NM1*IL*1*BLUTH*LUCILLE****34*152239999~
;;;;
run;

proc print data=have;run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:51:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747973#M234853</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-14T21:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: 834 files</title>
      <link>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747990#M234861</link>
      <description>Wow - this is great.&lt;BR /&gt;thanks,&lt;BR /&gt;Diane</description>
      <pubDate>Tue, 15 Jun 2021 00:05:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/834-files/m-p/747990#M234861</guid>
      <dc:creator>abqdiane</dc:creator>
      <dc:date>2021-06-15T00:05:32Z</dc:date>
    </item>
  </channel>
</rss>

