forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mods for X12 to add isa01-04 / User Login and Password for some clear…
…ing houses
- Loading branch information
1 parent
4f373fe
commit 587adbd
Showing
7 changed files
with
114 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
<?php | ||
// Copyright (C) 2007-2011 Rod Roark <[email protected]> | ||
// | ||
// This program is free software; you can redistribute it and/or | ||
// modify it under the terms of the GNU General Public License | ||
// as published by the Free Software Foundation; either version 2 | ||
// of the License, or (at your option) any later version. | ||
//various changes, tested working with multiple carriers | ||
|
||
require_once("Claim.class.php"); | ||
function stripZipCode($zip) | ||
|
@@ -29,10 +24,10 @@ function gen_x12_837($pid, $encounter, &$log, $encounter_claim=false) { | |
date('Y-m-d H:i', $today) . ".\n"; | ||
|
||
$out .= "ISA" . | ||
"*00" . | ||
"* " . | ||
"*00" . | ||
"* " . | ||
"*" . $claim->x12gsisa01() . | ||
"*" . $claim->x12gsisa02() . | ||
"*" . $claim->x12gsisa03() . | ||
"*" . $claim->x12gsisa04() . | ||
"*" . $claim->x12gsisa05() . | ||
"*" . $claim->x12gssenderid() . | ||
"*" . $claim->x12gsisa07() . | ||
|
@@ -341,7 +336,12 @@ function gen_x12_837($pid, $encounter, &$log, $encounter_claim=false) { | |
// Prior to the mandated implementation date and prior to any phase- | ||
// in period identified by Federal regulation, PI must be sent." | ||
// *************** Anybody know what that date is? *************** | ||
"*PI" . | ||
// August 2011 - Publish interim final rule | ||
// October 1, 2012-March 31, 2013 - Enumeration | ||
// April 1, 2013-September 30, 2013 - Testing | ||
// October 1, 2013 - Implementation | ||
|
||
"*XV" . | ||
// Zirmed ignores this if using payer name matching: | ||
"*" . ($encounter_claim ? $claim->payerAltID() : $claim->payerID()) . | ||
"~\n"; | ||
|
@@ -393,9 +393,10 @@ function gen_x12_837($pid, $encounter, &$log, $encounter_claim=false) { | |
"*QC" . | ||
"*1" . | ||
"*" . $claim->patientLastName() . | ||
"*" . $claim->patientFirstName() . | ||
"*" . $claim->patientMiddleName() . | ||
"~\n"; | ||
"*" . $claim->patientFirstName(); | ||
if ($claim->patientMiddleName() !== '') $out .= "*" | ||
. $claim->patientMiddleName(); | ||
$out .= "~\n"; | ||
|
||
++$edicount; | ||
$out .= "N3" . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters