Example #1
0
//
$out .= $pid;
// patient id
Add($row['pubpid']);
// chart number
Add($row['lname']);
// last name
Add($row['fname']);
// first name
Add(substr($row['mname'], 0, 1));
// middle initial
Add("");
// alias
Add(Digits($row['ss']));
// ssn
Add(LWDate($row['DOB']));
// dob
Add(Sex($row['sex']));
// gender
Add("");
// notes
Add($row['street']);
// address 1
Add("");
// address2
Add($row['city']);
// city
Add($row['state']);
// state
Add($row['postal_code']);
// zip
Example #2
0
Add("phone_contact", Digits($row['phone_contact']));
Add("phone_cell", Digits($row['phone_cell']));
Add("occupation", $row['occupation']);
Add("status", $row['status']);
Add("contact_relationship", $row['contact_relationship']);
Add("referrer", $row['referrer']);
Add("referrerID", $row['referrerID']);
Add("email", $row['email']);
Add("language", $row['language']);
Add("ethnoracial", $row['ethnoracial']);
Add("interpreter", $row['interpretter']);
Add("migrantseasonal", $row['migrantseasonal']);
Add("family_size", $row['family_size']);
Add("monthly_income", $row['monthly_income']);
Add("homeless", $row['homeless']);
Add("financial_review", LWDate(substr($row['financial_review'], 0, 10)));
Add("genericname1", $row['genericname1']);
Add("genericval1", $row['genericval1']);
Add("genericname2", $row['genericname2']);
Add("genericval2", $row['genericval2']);
Add("billing_note", $row['billing_note']);
Add("hipaa_mail", $row['hipaa_mail']);
Add("hipaa_voice", $row['hipaa_voice']);
// Insurance Sections.
//
addInsurance($row, '1');
addInsurance($row, '2');
addInsurance($row, '3');
// Primary Care Physician Section.
//
if ($row['providerID']) {