<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Marci Fey on Medium]]></title>
        <description><![CDATA[Stories by Marci Fey on Medium]]></description>
        <link>https://medium.com/@marcifey?source=rss-95c094412a04------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*SJlr4jxX25F-K6ic.</url>
            <title>Stories by Marci Fey on Medium</title>
            <link>https://medium.com/@marcifey?source=rss-95c094412a04------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 05:54:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marcifey/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Your medical bill is not a bill … it’s a starting offer.]]></title>
            <link>https://medium.com/@marcifey/your-medical-bill-is-not-a-bill-its-a-starting-offer-803977e51d95?source=rss-95c094412a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/803977e51d95</guid>
            <category><![CDATA[patient-advocate]]></category>
            <category><![CDATA[health-insurance]]></category>
            <category><![CDATA[health-technology]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[medical-billing]]></category>
            <dc:creator><![CDATA[Marci Fey]]></dc:creator>
            <pubDate>Thu, 16 Nov 2017 23:07:57 GMT</pubDate>
            <atom:updated>2017-11-16T23:07:57.143Z</atom:updated>
            <content:encoded><![CDATA[<p>A tutorial on how to save money on your hospital bills without ever having to talk to a person.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/559/1*J7App_mjUfw8f5tfvD8v_Q.jpeg" /></figure><p>If you find yourself as a self pay patient (no insurance), there’s nothing scarier than a big hospital bill. I recently had a discussion about self pay patients with the chairman of the Emergency Department at the Cleveland Clinic. He admitted that “self pay patients really get screwed”. He went on to say that the Cleveland Clinic charges patients without insurance over 200% of what Medicare allows. To put this into perspective, Medicare pays hospitals, on average, around 80% of what private insurance pays. If Medicare pays $80 for a service and private insurance pays $100, then why are self pay patients expected to pay $160?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*eB7okprMSIP_5Ov790YGdA.png" /></figure><p>Hospitals know that their charges are inflated due to third-party billing practices. The hospital sends a claim to an insurance company with charges well over the maximum allowable amount to avoid underpayment. Those charges are not always adjusted for patients without insurance. With that being said, a request for a price reduction is not unwarranted and is often welcomed. Multiple phone calls aren’t necessary to receive a discount. You can reduce your hospital bill in a few easy steps:</p><ol><li>Check your bill. Does it include procedure codes? A procedure code (CPT code) is a 5 character alphanumeric code, which describes the service rendered. If your bill does not include procedure codes, don’t pay it. Send your bill back to the hospital with a note requesting an itemized statement. You have a right to know what you’re being charged for.</li><li>Once you have all of your procedure codes, find out what Medicare would allow for those codes. There are multiple ways of doing this: 1. Go directly to Medicare’s website and use their <a href="https://www.cms.gov/apps/physician-fee-schedule/overview.aspx">Fee Schedule Lookup Tool</a>. 2. Look-up your procedure codes on sites like <a href="https://clearhealthcosts.com/">Clear Health Costs</a> or <a href="https://www.fairhealthconsumer.org/">Fair Health Consumer</a>. 3. Use the web app I created for this very purpose: <a href="http://www.selfpayrate.com/">Self Pay Rate</a>. The free app allows you to look-up 8 procedure codes at once and will generate a letter to your hospital on your behalf.</li><li>Write a letter to your hospital requesting a discount based on Medicare’s fee schedule. In the letter, document the price differences between Medicare’s facility rates and the rates you were charged. At the very least, you should pay no more than what private insurance would allow.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1009/1*UNxhdAea7G0BwQIICGWh9A.png" /><figcaption>A screenshot from <a href="http://www.selfpayrate.com/">selfpayrate.com</a></figcaption></figure><p>A few notes: Medicare’s Fee Schedule does not include all procedure codes, so for some price comparisons, you may need to incorporate multiple resources. If the hospital is not responsive to your letter, you can follow-up via phone or email. Just remember to reference your findings. I hope this helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=803977e51d95" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Crow’s Foot Notation in an ERD]]></title>
            <link>https://medium.com/@marcifey/using-crows-foot-notation-in-an-erd-2910fff5dd05?source=rss-95c094412a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/2910fff5dd05</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[charts-and-graphs]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Marci Fey]]></dc:creator>
            <pubDate>Mon, 02 Oct 2017 00:24:13 GMT</pubDate>
            <atom:updated>2017-10-02T00:24:13.896Z</atom:updated>
            <content:encoded><![CDATA[<p>Managing your relational databases can get a little tricky, so it’s nice to have a clear diagram of your entities. <a href="https://www.lucidchart.com/">Lucidchart</a> is a great tool for this task. It provides you with the ability to model databases in an easy-to-read format with entity relationship diagrams.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/735/1*8XnsVTlWCngTiWTJFfdyOw.png" /></figure><p>Crow’s Foot Notation is useful for illustrating the relationships and cardinality of the entities, but it’s also difficult to remember which symbols and notations are appropriate. Consider the following scenarios:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*_fn2irIvz4PACwmPukPQ8Q.png" /><figcaption>A gym member <strong>belongs to</strong> a gym.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*oTLqZXNO4lDMOZljOS5zfw.png" /><figcaption>A gym member <strong>has one</strong> gym pass and a gym pass <strong>has one </strong>member.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/426/1*_ipGpkLLgrd5BOkwSW9FxQ.png" /><figcaption>A gym member attends <strong>many</strong> yoga classes and a yoga class has <strong>many</strong> members.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*N3-aTW81CD8aN-TgE-O5SQ.png" /><figcaption>A gym member has <strong>one and only one</strong> locker.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/1*3dxglxayWs8Q69dfm48eZw.png" /><figcaption>A gym member can have <strong>one or many</strong> towels.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*VZSSgPEcu2DOsjzvoL1Fww.png" /><figcaption>A gym member can have <strong>zero or one</strong> pool pass.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*DTidLg8ViowSOfPn5nZOiQ.png" /><figcaption>A gym member can have <strong>zero or many</strong> gym visits. Don’t judge…</figcaption></figure><p>All of these relational tables were created in Lucidchart. You can find the tables if you go to + Shapes (on the left) and checkmark Entity Relationship (under Software). Line endpoints are available in the toolbar. Hope this helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2910fff5dd05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Copy Command in PostgreSQL]]></title>
            <link>https://medium.com/@marcifey/the-copy-command-in-postgresql-de665afcbd3e?source=rss-95c094412a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/de665afcbd3e</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[computer-programming]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[postgres]]></category>
            <dc:creator><![CDATA[Marci Fey]]></dc:creator>
            <pubDate>Sun, 17 Sep 2017 02:13:10 GMT</pubDate>
            <atom:updated>2017-09-17T02:13:10.667Z</atom:updated>
            <content:encoded><![CDATA[<p>PostgreSQL has a great utility for copying data into your database and it’s appropriately named Copy. The Copy utility supports the following modes: binary, tab delimited, and csv delimited. <em>Copy From</em> copies data from a file to a table. <em>Copy To</em> copies content from a table to a file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JgSYjnYnAgGEcr1_hARhlQ.jpeg" /></figure><p>My first few attempts with this new found command did not go as planned. The goal: Take a csv delimited .txt file with quite a few lines of data (992,177 to be exact) and load all that data into a PostgreSQL database using the <em>Copy From</em> command. The end result: Exactly what I set out to do (thanks to <a href="https://stackoverflow.com/questions/5233321/how-to-load-data-from-a-text-file-in-a-postgresql-database">stackoverflow</a> and some other useful <a href="https://www.postgresql.org/docs/current/static/sql-copy.html">documentation</a>).</p><p><strong>Steps for copying data from a .txt file into a PostgreSQL database:</strong></p><p>Create a Postgres database where each row in the table represents a column in the .txt file. Be sure to consider the <a href="https://www.techonthenet.com/postgresql/datatypes.php">datatypes</a> and the number of characters to store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/709/1*6QXUHlj1jHNVHuo8pUmalw.png" /></figure><p>Review your .txt file to ensure that the delimiter character is a comma. In my case, each column was separated by a comma and all of the data was represented as a string. Since I didn’t want each line of data to be a string, I found all of the quotation<strong> </strong>marks with <strong>⌘ + f </strong>and then replaced them all with null. This took TextEdit some time…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/934/1*kxm-BnmktBvcTtJ_B11u8w.png" /><figcaption>In case you are wondering, these are medical procedure codes and their reimbursement rates.</figcaption></figure><p>Perform the <em>Copy From</em> PostgreSQL command using the syntax below. If all goes as planned, you will end up with a completed table filled with all of that crazy .txt file data.</p><pre>COPY &quot;TableName&quot; FROM &#39;/your/route/to/textfile.txt&#39; ( FORMAT CSV )</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de665afcbd3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Insertion Sort in Ruby]]></title>
            <link>https://medium.com/@marcifey/insertion-sort-in-ruby-b538c55591f4?source=rss-95c094412a04------2</link>
            <guid isPermaLink="false">https://medium.com/p/b538c55591f4</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[sorting-algorithms]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Marci Fey]]></dc:creator>
            <pubDate>Sat, 02 Sep 2017 03:12:04 GMT</pubDate>
            <atom:updated>2017-09-02T16:17:15.765Z</atom:updated>
            <content:encoded><![CDATA[<p>If you are asked to implement a sorting algorithm or sort an array in Ruby without the .sort method, you could apply the insertion sort algorithm. Here’s a fun video to explain how it works:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FROalU379l3U%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DROalU379l3U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FROalU379l3U%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/570d599b0e67803b5cc054640b0254e7/href">https://medium.com/media/570d599b0e67803b5cc054640b0254e7/href</a></iframe><p>Below is an insertion sort example in Ruby code. Explanations are numbered 1- 18 to correspond with each line in the method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*vOvbXGPPyWbGnQewQQxSig.png" /><figcaption>Code available for copy/paste below ↓</figcaption></figure><ol><li>Define a method that takes in an array as a parameter</li><li>Create an empty array &amp; make that the final (sorted) array</li><li>Push the first element from the original array into the final array (using the array mutating method: <a href="https://ruby-doc.org/core-2.4.1/Array.html#method-i-shift">.shift</a>)</li><li>Write a for loop that loops through the original array</li><li>Set an index to zero</li><li>While final_index &lt; final.length (a while loop with a conditional that checks to make sure that the length of the final array is less than the final_index)</li><li>If the current element in the original array is less than or equal to final[final_index]… (On the first loop, this comparison would be: is 5 less than or equal to 6? )</li><li>If line 7 were true, the original array element would be inserted into the final array in the <em>current</em> position of final[final_index] (final = [5, 6])</li><li>Break — this ends the while loop and you <strong>skip</strong> the final_index incrementation (final_index+=1) and go back up to for i in array where we move on to the next element in the original array &amp; the index is reset to zero</li><li>Elsif statement: For this to be true, the original array element must be the highest number in the final array and therefore should be added to the end</li><li>If line 10 were true, insert the original array element <em>after</em> the current position of final[final_index] (at the end)</li><li>Break — this ends the while loop and you <strong>skip</strong> the final_index incrementation (final_index+=1) and go back up to for i in array where we move on to the next element in the original array &amp; the index is reset to zero</li><li>End the if/elsif conditional block of code</li><li>Increment the final_index by 1. This only happens if neither if/elsif statement resulted to be true. Once the final_index has been incremented, you continue the while loop with your new index for comparison. (In this example, the first time this happens is with the number 8)</li><li>End the while loop</li><li>End the for loop</li><li>Return the final (sorted) array. This is an example of implicit return in Ruby</li><li>End method</li></ol><p>Hope this helps! Example code for copy/paste below:</p><pre>def insertion_sort(array)<br>  final = []<br>  final &lt;&lt; array.shift <br>    for i in array<br>      final_index = 0<br>      while final_index &lt; final.length <br>        if i &lt;= final[final_index] <br>          final.insert(final_index,i) <br>          break  <br>        elsif final_index == final.length-1 <br>          final.insert(final_index+1,i) <br>          break<br>        end<br>        final_index+=1   <br>      end<br>    end<br>  final<br>end</pre><pre>array = [6, 5, 3, 1, 8, 7, 2, 4]<br>p insertion_sort(array)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b538c55591f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>